/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BLL;

import DAL.DALExport;
import DTO.DTOExport;
import java.util.ArrayList;

/**
 *
 * @author Pham
 */
public class BLLExport {
    DALExport dalExp;
    
    public BLLExport(){
        dalExp = new DALExport();
    }
    
    //method get all exports
    public ArrayList<DTOExport> getExports()
    {
        return dalExp.getExports();
    }
    
    //method get export by id
    public DTOExport getExportbyId(String ExpId)
    {
        return dalExp.getExportbyId(ExpId);
    }
    
    //method create new export
    public boolean createNewExport(DTOExport dtoExport)
    {
        return dalExp.createNewExport(dtoExport);
    }
}
